﻿/* CrewMember.cs
 * Author: Richard Broker 
 * Date: 04/09/2011
 * Purpose: This class contains information about a particular crew member.
 *          Functions to manipulate this crew member can be found in GCrew.
 *          The full crew member list is maintained by Crew.cs
 * 
 *  This file is part of Tame.
 *
 *  Tame is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *  
 *  Tame is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with Tame. If not, see <http://www.gnu.org/licenses/>.
 * 
 * */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tame.Objects.Character;


namespace Tame.Objects.Crew
{
    public class CrewMember
    {
        /// <summary>
        /// Basic Crew Member stats.
        /// </summary>
        public bool crewActive { get; set; }
        public bool legendary { get; set; }
        public string name { get; set; }
        public string primaryEffect { get; set; }
        public string secondaryEffect { get; set; }
        public string type { get; set; }
        public int level { get; set; }

        /// <summary>
        /// Misc Data About Crew.
        /// </summary>
        public int daysServed { get; set; }
        public int initialPrice { get; set; }
        public int dailyPrice { get; set; }
        GCharacter.Race crewRace { get; set; }

        /// <summary>
        /// Completely initialises the crew member.
        /// </summary>
        /// <param name="_crewActive">Yes/No</param>
        /// <param name="_legenday">Legenday?</param>
        /// <param name="_name">Name of crew member</param>
        /// <param name="_primaryEffect">Main effect of crew</param>
        /// <param name="_secondaryEffect">Secondary effect of crew</param>
        /// <param name="_type">What kind of crewmember, navi, tactician etc.</param>
        /// <param name="_level">Crew level.</param>
        public CrewMember(bool _crewActive, bool _legenday, string _name, string _primaryEffect, string _secondaryEffect, string _type, int _level)
        {
            crewActive = _crewActive;
            legendary = _legenday;
            name = _name;
            primaryEffect = _primaryEffect;
            secondaryEffect = _secondaryEffect;
            type = _type;
            level = _level;
        }

        public CrewMember()
        {

        }
    }
}
